import React from 'react';
import Modal from 'antd-mobile/lib/modal';

const alert = Modal.alert;

const showPresentList = (presentlist) => {
  const list = presentlist.map((item, index)=> (<div key={index}>{`${item.title}  x1`}</div>))
  alert('全部礼品', list, [
    { text: '确认', onPress: () => { } },
  ]);
}

export default showPresentList;